package com.org.service;

public interface EmailService {

    /**
     * 发送邮件
     * @param email
     */
    boolean sendEmail(String email);

    /**
     * 验证码验证
     * @param email 邮箱
     * @param code 验证码
     * @return
     */
    boolean verifyCode(String email, String code);
}
